package com.wheesper.www.WheesperServer.Services;
import com.wheesper.www.WheesperServer.Net.Session.IOSession;
import com.wheesper.www.WheesperServer.Utils.Logger;

import ProtocolBuffer.ProtoMessageOuterClass.*;

public class UserInfoServices {
	public static void handle(IOSession session,UserInfoQueryRequest request) {
		String email = request.getMailAddress();
		Logger.Instance().logging(email);
		UserInfoController.Instance().querying(session, email);
	}
	
	public static void handle(IOSession session,UserInfoModifyRequest request) {
		UserInfoController.Instance().modifying(session, request);
	}
}
